package cn.gdut.chengcai.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EmailLogInfoExample {
	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	public EmailLogInfoExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andIdIsNull() {
			addCriterion("id_ is null");
			return (Criteria) this;
		}

		public Criteria andIdIsNotNull() {
			addCriterion("id_ is not null");
			return (Criteria) this;
		}

		public Criteria andIdEqualTo(Long value) {
			addCriterion("id_ =", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotEqualTo(Long value) {
			addCriterion("id_ <>", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThan(Long value) {
			addCriterion("id_ >", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThanOrEqualTo(Long value) {
			addCriterion("id_ >=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThan(Long value) {
			addCriterion("id_ <", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThanOrEqualTo(Long value) {
			addCriterion("id_ <=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdIn(List<Long> values) {
			addCriterion("id_ in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotIn(List<Long> values) {
			addCriterion("id_ not in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdBetween(Long value1, Long value2) {
			addCriterion("id_ between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotBetween(Long value1, Long value2) {
			addCriterion("id_ not between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andTypeIsNull() {
			addCriterion("type_ is null");
			return (Criteria) this;
		}

		public Criteria andTypeIsNotNull() {
			addCriterion("type_ is not null");
			return (Criteria) this;
		}

		public Criteria andTypeEqualTo(Byte value) {
			addCriterion("type_ =", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeNotEqualTo(Byte value) {
			addCriterion("type_ <>", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeGreaterThan(Byte value) {
			addCriterion("type_ >", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
			addCriterion("type_ >=", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeLessThan(Byte value) {
			addCriterion("type_ <", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeLessThanOrEqualTo(Byte value) {
			addCriterion("type_ <=", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeIn(List<Byte> values) {
			addCriterion("type_ in", values, "type");
			return (Criteria) this;
		}

		public Criteria andTypeNotIn(List<Byte> values) {
			addCriterion("type_ not in", values, "type");
			return (Criteria) this;
		}

		public Criteria andTypeBetween(Byte value1, Byte value2) {
			addCriterion("type_ between", value1, value2, "type");
			return (Criteria) this;
		}

		public Criteria andTypeNotBetween(Byte value1, Byte value2) {
			addCriterion("type_ not between", value1, value2, "type");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameIsNull() {
			addCriterion("sender_username_ is null");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameIsNotNull() {
			addCriterion("sender_username_ is not null");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameEqualTo(String value) {
			addCriterion("sender_username_ =", value, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameNotEqualTo(String value) {
			addCriterion("sender_username_ <>", value, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameGreaterThan(String value) {
			addCriterion("sender_username_ >", value, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameGreaterThanOrEqualTo(String value) {
			addCriterion("sender_username_ >=", value, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameLessThan(String value) {
			addCriterion("sender_username_ <", value, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameLessThanOrEqualTo(String value) {
			addCriterion("sender_username_ <=", value, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameLike(String value) {
			addCriterion("sender_username_ like", value, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameNotLike(String value) {
			addCriterion("sender_username_ not like", value, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameIn(List<String> values) {
			addCriterion("sender_username_ in", values, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameNotIn(List<String> values) {
			addCriterion("sender_username_ not in", values, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameBetween(String value1, String value2) {
			addCriterion("sender_username_ between", value1, value2, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderUsernameNotBetween(String value1, String value2) {
			addCriterion("sender_username_ not between", value1, value2, "senderUsername");
			return (Criteria) this;
		}

		public Criteria andSenderEmailIsNull() {
			addCriterion("sender_email_ is null");
			return (Criteria) this;
		}

		public Criteria andSenderEmailIsNotNull() {
			addCriterion("sender_email_ is not null");
			return (Criteria) this;
		}

		public Criteria andSenderEmailEqualTo(String value) {
			addCriterion("sender_email_ =", value, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderEmailNotEqualTo(String value) {
			addCriterion("sender_email_ <>", value, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderEmailGreaterThan(String value) {
			addCriterion("sender_email_ >", value, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderEmailGreaterThanOrEqualTo(String value) {
			addCriterion("sender_email_ >=", value, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderEmailLessThan(String value) {
			addCriterion("sender_email_ <", value, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderEmailLessThanOrEqualTo(String value) {
			addCriterion("sender_email_ <=", value, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderEmailLike(String value) {
			addCriterion("sender_email_ like", value, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderEmailNotLike(String value) {
			addCriterion("sender_email_ not like", value, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderEmailIn(List<String> values) {
			addCriterion("sender_email_ in", values, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderEmailNotIn(List<String> values) {
			addCriterion("sender_email_ not in", values, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderEmailBetween(String value1, String value2) {
			addCriterion("sender_email_ between", value1, value2, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderEmailNotBetween(String value1, String value2) {
			addCriterion("sender_email_ not between", value1, value2, "senderEmail");
			return (Criteria) this;
		}

		public Criteria andSenderIpIsNull() {
			addCriterion("sender_ip_ is null");
			return (Criteria) this;
		}

		public Criteria andSenderIpIsNotNull() {
			addCriterion("sender_ip_ is not null");
			return (Criteria) this;
		}

		public Criteria andSenderIpEqualTo(String value) {
			addCriterion("sender_ip_ =", value, "senderIp");
			return (Criteria) this;
		}

		public Criteria andSenderIpNotEqualTo(String value) {
			addCriterion("sender_ip_ <>", value, "senderIp");
			return (Criteria) this;
		}

		public Criteria andSenderIpGreaterThan(String value) {
			addCriterion("sender_ip_ >", value, "senderIp");
			return (Criteria) this;
		}

		public Criteria andSenderIpGreaterThanOrEqualTo(String value) {
			addCriterion("sender_ip_ >=", value, "senderIp");
			return (Criteria) this;
		}

		public Criteria andSenderIpLessThan(String value) {
			addCriterion("sender_ip_ <", value, "senderIp");
			return (Criteria) this;
		}

		public Criteria andSenderIpLessThanOrEqualTo(String value) {
			addCriterion("sender_ip_ <=", value, "senderIp");
			return (Criteria) this;
		}

		public Criteria andSenderIpLike(String value) {
			addCriterion("sender_ip_ like", value, "senderIp");
			return (Criteria) this;
		}

		public Criteria andSenderIpNotLike(String value) {
			addCriterion("sender_ip_ not like", value, "senderIp");
			return (Criteria) this;
		}

		public Criteria andSenderIpIn(List<String> values) {
			addCriterion("sender_ip_ in", values, "senderIp");
			return (Criteria) this;
		}

		public Criteria andSenderIpNotIn(List<String> values) {
			addCriterion("sender_ip_ not in", values, "senderIp");
			return (Criteria) this;
		}

		public Criteria andSenderIpBetween(String value1, String value2) {
			addCriterion("sender_ip_ between", value1, value2, "senderIp");
			return (Criteria) this;
		}

		public Criteria andSenderIpNotBetween(String value1, String value2) {
			addCriterion("sender_ip_ not between", value1, value2, "senderIp");
			return (Criteria) this;
		}

		public Criteria andToListIsNull() {
			addCriterion("to_list_ is null");
			return (Criteria) this;
		}

		public Criteria andToListIsNotNull() {
			addCriterion("to_list_ is not null");
			return (Criteria) this;
		}

		public Criteria andToListEqualTo(String value) {
			addCriterion("to_list_ =", value, "toList");
			return (Criteria) this;
		}

		public Criteria andToListNotEqualTo(String value) {
			addCriterion("to_list_ <>", value, "toList");
			return (Criteria) this;
		}

		public Criteria andToListGreaterThan(String value) {
			addCriterion("to_list_ >", value, "toList");
			return (Criteria) this;
		}

		public Criteria andToListGreaterThanOrEqualTo(String value) {
			addCriterion("to_list_ >=", value, "toList");
			return (Criteria) this;
		}

		public Criteria andToListLessThan(String value) {
			addCriterion("to_list_ <", value, "toList");
			return (Criteria) this;
		}

		public Criteria andToListLessThanOrEqualTo(String value) {
			addCriterion("to_list_ <=", value, "toList");
			return (Criteria) this;
		}

		public Criteria andToListLike(String value) {
			addCriterion("to_list_ like", value, "toList");
			return (Criteria) this;
		}

		public Criteria andToListNotLike(String value) {
			addCriterion("to_list_ not like", value, "toList");
			return (Criteria) this;
		}

		public Criteria andToListIn(List<String> values) {
			addCriterion("to_list_ in", values, "toList");
			return (Criteria) this;
		}

		public Criteria andToListNotIn(List<String> values) {
			addCriterion("to_list_ not in", values, "toList");
			return (Criteria) this;
		}

		public Criteria andToListBetween(String value1, String value2) {
			addCriterion("to_list_ between", value1, value2, "toList");
			return (Criteria) this;
		}

		public Criteria andToListNotBetween(String value1, String value2) {
			addCriterion("to_list_ not between", value1, value2, "toList");
			return (Criteria) this;
		}

		public Criteria andCcListIsNull() {
			addCriterion("cc_list_ is null");
			return (Criteria) this;
		}

		public Criteria andCcListIsNotNull() {
			addCriterion("cc_list_ is not null");
			return (Criteria) this;
		}

		public Criteria andCcListEqualTo(String value) {
			addCriterion("cc_list_ =", value, "ccList");
			return (Criteria) this;
		}

		public Criteria andCcListNotEqualTo(String value) {
			addCriterion("cc_list_ <>", value, "ccList");
			return (Criteria) this;
		}

		public Criteria andCcListGreaterThan(String value) {
			addCriterion("cc_list_ >", value, "ccList");
			return (Criteria) this;
		}

		public Criteria andCcListGreaterThanOrEqualTo(String value) {
			addCriterion("cc_list_ >=", value, "ccList");
			return (Criteria) this;
		}

		public Criteria andCcListLessThan(String value) {
			addCriterion("cc_list_ <", value, "ccList");
			return (Criteria) this;
		}

		public Criteria andCcListLessThanOrEqualTo(String value) {
			addCriterion("cc_list_ <=", value, "ccList");
			return (Criteria) this;
		}

		public Criteria andCcListLike(String value) {
			addCriterion("cc_list_ like", value, "ccList");
			return (Criteria) this;
		}

		public Criteria andCcListNotLike(String value) {
			addCriterion("cc_list_ not like", value, "ccList");
			return (Criteria) this;
		}

		public Criteria andCcListIn(List<String> values) {
			addCriterion("cc_list_ in", values, "ccList");
			return (Criteria) this;
		}

		public Criteria andCcListNotIn(List<String> values) {
			addCriterion("cc_list_ not in", values, "ccList");
			return (Criteria) this;
		}

		public Criteria andCcListBetween(String value1, String value2) {
			addCriterion("cc_list_ between", value1, value2, "ccList");
			return (Criteria) this;
		}

		public Criteria andCcListNotBetween(String value1, String value2) {
			addCriterion("cc_list_ not between", value1, value2, "ccList");
			return (Criteria) this;
		}

		public Criteria andBccListIsNull() {
			addCriterion("bcc_list_ is null");
			return (Criteria) this;
		}

		public Criteria andBccListIsNotNull() {
			addCriterion("bcc_list_ is not null");
			return (Criteria) this;
		}

		public Criteria andBccListEqualTo(String value) {
			addCriterion("bcc_list_ =", value, "bccList");
			return (Criteria) this;
		}

		public Criteria andBccListNotEqualTo(String value) {
			addCriterion("bcc_list_ <>", value, "bccList");
			return (Criteria) this;
		}

		public Criteria andBccListGreaterThan(String value) {
			addCriterion("bcc_list_ >", value, "bccList");
			return (Criteria) this;
		}

		public Criteria andBccListGreaterThanOrEqualTo(String value) {
			addCriterion("bcc_list_ >=", value, "bccList");
			return (Criteria) this;
		}

		public Criteria andBccListLessThan(String value) {
			addCriterion("bcc_list_ <", value, "bccList");
			return (Criteria) this;
		}

		public Criteria andBccListLessThanOrEqualTo(String value) {
			addCriterion("bcc_list_ <=", value, "bccList");
			return (Criteria) this;
		}

		public Criteria andBccListLike(String value) {
			addCriterion("bcc_list_ like", value, "bccList");
			return (Criteria) this;
		}

		public Criteria andBccListNotLike(String value) {
			addCriterion("bcc_list_ not like", value, "bccList");
			return (Criteria) this;
		}

		public Criteria andBccListIn(List<String> values) {
			addCriterion("bcc_list_ in", values, "bccList");
			return (Criteria) this;
		}

		public Criteria andBccListNotIn(List<String> values) {
			addCriterion("bcc_list_ not in", values, "bccList");
			return (Criteria) this;
		}

		public Criteria andBccListBetween(String value1, String value2) {
			addCriterion("bcc_list_ between", value1, value2, "bccList");
			return (Criteria) this;
		}

		public Criteria andBccListNotBetween(String value1, String value2) {
			addCriterion("bcc_list_ not between", value1, value2, "bccList");
			return (Criteria) this;
		}

		public Criteria andSubjectIsNull() {
			addCriterion("subject_ is null");
			return (Criteria) this;
		}

		public Criteria andSubjectIsNotNull() {
			addCriterion("subject_ is not null");
			return (Criteria) this;
		}

		public Criteria andSubjectEqualTo(String value) {
			addCriterion("subject_ =", value, "subject");
			return (Criteria) this;
		}

		public Criteria andSubjectNotEqualTo(String value) {
			addCriterion("subject_ <>", value, "subject");
			return (Criteria) this;
		}

		public Criteria andSubjectGreaterThan(String value) {
			addCriterion("subject_ >", value, "subject");
			return (Criteria) this;
		}

		public Criteria andSubjectGreaterThanOrEqualTo(String value) {
			addCriterion("subject_ >=", value, "subject");
			return (Criteria) this;
		}

		public Criteria andSubjectLessThan(String value) {
			addCriterion("subject_ <", value, "subject");
			return (Criteria) this;
		}

		public Criteria andSubjectLessThanOrEqualTo(String value) {
			addCriterion("subject_ <=", value, "subject");
			return (Criteria) this;
		}

		public Criteria andSubjectLike(String value) {
			addCriterion("subject_ like", value, "subject");
			return (Criteria) this;
		}

		public Criteria andSubjectNotLike(String value) {
			addCriterion("subject_ not like", value, "subject");
			return (Criteria) this;
		}

		public Criteria andSubjectIn(List<String> values) {
			addCriterion("subject_ in", values, "subject");
			return (Criteria) this;
		}

		public Criteria andSubjectNotIn(List<String> values) {
			addCriterion("subject_ not in", values, "subject");
			return (Criteria) this;
		}

		public Criteria andSubjectBetween(String value1, String value2) {
			addCriterion("subject_ between", value1, value2, "subject");
			return (Criteria) this;
		}

		public Criteria andSubjectNotBetween(String value1, String value2) {
			addCriterion("subject_ not between", value1, value2, "subject");
			return (Criteria) this;
		}

		public Criteria andContentIsNull() {
			addCriterion("content_ is null");
			return (Criteria) this;
		}

		public Criteria andContentIsNotNull() {
			addCriterion("content_ is not null");
			return (Criteria) this;
		}

		public Criteria andContentEqualTo(String value) {
			addCriterion("content_ =", value, "content");
			return (Criteria) this;
		}

		public Criteria andContentNotEqualTo(String value) {
			addCriterion("content_ <>", value, "content");
			return (Criteria) this;
		}

		public Criteria andContentGreaterThan(String value) {
			addCriterion("content_ >", value, "content");
			return (Criteria) this;
		}

		public Criteria andContentGreaterThanOrEqualTo(String value) {
			addCriterion("content_ >=", value, "content");
			return (Criteria) this;
		}

		public Criteria andContentLessThan(String value) {
			addCriterion("content_ <", value, "content");
			return (Criteria) this;
		}

		public Criteria andContentLessThanOrEqualTo(String value) {
			addCriterion("content_ <=", value, "content");
			return (Criteria) this;
		}

		public Criteria andContentLike(String value) {
			addCriterion("content_ like", value, "content");
			return (Criteria) this;
		}

		public Criteria andContentNotLike(String value) {
			addCriterion("content_ not like", value, "content");
			return (Criteria) this;
		}

		public Criteria andContentIn(List<String> values) {
			addCriterion("content_ in", values, "content");
			return (Criteria) this;
		}

		public Criteria andContentNotIn(List<String> values) {
			addCriterion("content_ not in", values, "content");
			return (Criteria) this;
		}

		public Criteria andContentBetween(String value1, String value2) {
			addCriterion("content_ between", value1, value2, "content");
			return (Criteria) this;
		}

		public Criteria andContentNotBetween(String value1, String value2) {
			addCriterion("content_ not between", value1, value2, "content");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedIsNull() {
			addCriterion("is_successed_ is null");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedIsNotNull() {
			addCriterion("is_successed_ is not null");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedEqualTo(Boolean value) {
			addCriterion("is_successed_ =", value, "isSuccessed");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedNotEqualTo(Boolean value) {
			addCriterion("is_successed_ <>", value, "isSuccessed");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedGreaterThan(Boolean value) {
			addCriterion("is_successed_ >", value, "isSuccessed");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedGreaterThanOrEqualTo(Boolean value) {
			addCriterion("is_successed_ >=", value, "isSuccessed");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedLessThan(Boolean value) {
			addCriterion("is_successed_ <", value, "isSuccessed");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedLessThanOrEqualTo(Boolean value) {
			addCriterion("is_successed_ <=", value, "isSuccessed");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedIn(List<Boolean> values) {
			addCriterion("is_successed_ in", values, "isSuccessed");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedNotIn(List<Boolean> values) {
			addCriterion("is_successed_ not in", values, "isSuccessed");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedBetween(Boolean value1, Boolean value2) {
			addCriterion("is_successed_ between", value1, value2, "isSuccessed");
			return (Criteria) this;
		}

		public Criteria andIsSuccessedNotBetween(Boolean value1, Boolean value2) {
			addCriterion("is_successed_ not between", value1, value2, "isSuccessed");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailIsNull() {
			addCriterion("is_system_mail_ is null");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailIsNotNull() {
			addCriterion("is_system_mail_ is not null");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailEqualTo(Boolean value) {
			addCriterion("is_system_mail_ =", value, "isSystemMail");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailNotEqualTo(Boolean value) {
			addCriterion("is_system_mail_ <>", value, "isSystemMail");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailGreaterThan(Boolean value) {
			addCriterion("is_system_mail_ >", value, "isSystemMail");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailGreaterThanOrEqualTo(Boolean value) {
			addCriterion("is_system_mail_ >=", value, "isSystemMail");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailLessThan(Boolean value) {
			addCriterion("is_system_mail_ <", value, "isSystemMail");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailLessThanOrEqualTo(Boolean value) {
			addCriterion("is_system_mail_ <=", value, "isSystemMail");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailIn(List<Boolean> values) {
			addCriterion("is_system_mail_ in", values, "isSystemMail");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailNotIn(List<Boolean> values) {
			addCriterion("is_system_mail_ not in", values, "isSystemMail");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailBetween(Boolean value1, Boolean value2) {
			addCriterion("is_system_mail_ between", value1, value2, "isSystemMail");
			return (Criteria) this;
		}

		public Criteria andIsSystemMailNotBetween(Boolean value1, Boolean value2) {
			addCriterion("is_system_mail_ not between", value1, value2, "isSystemMail");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIsNull() {
			addCriterion("is_deleted_ is null");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIsNotNull() {
			addCriterion("is_deleted_ is not null");
			return (Criteria) this;
		}

		public Criteria andIsDeletedEqualTo(Boolean value) {
			addCriterion("is_deleted_ =", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotEqualTo(Boolean value) {
			addCriterion("is_deleted_ <>", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedGreaterThan(Boolean value) {
			addCriterion("is_deleted_ >", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedGreaterThanOrEqualTo(Boolean value) {
			addCriterion("is_deleted_ >=", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedLessThan(Boolean value) {
			addCriterion("is_deleted_ <", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedLessThanOrEqualTo(Boolean value) {
			addCriterion("is_deleted_ <=", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIn(List<Boolean> values) {
			addCriterion("is_deleted_ in", values, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotIn(List<Boolean> values) {
			addCriterion("is_deleted_ not in", values, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedBetween(Boolean value1, Boolean value2) {
			addCriterion("is_deleted_ between", value1, value2, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotBetween(Boolean value1, Boolean value2) {
			addCriterion("is_deleted_ not between", value1, value2, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNull() {
			addCriterion("create_time_ is null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNotNull() {
			addCriterion("create_time_ is not null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeEqualTo(Date value) {
			addCriterion("create_time_ =", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotEqualTo(Date value) {
			addCriterion("create_time_ <>", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThan(Date value) {
			addCriterion("create_time_ >", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("create_time_ >=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThan(Date value) {
			addCriterion("create_time_ <", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
			addCriterion("create_time_ <=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIn(List<Date> values) {
			addCriterion("create_time_ in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotIn(List<Date> values) {
			addCriterion("create_time_ not in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeBetween(Date value1, Date value2) {
			addCriterion("create_time_ between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
			addCriterion("create_time_ not between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNull() {
			addCriterion("update_time_ is null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNotNull() {
			addCriterion("update_time_ is not null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeEqualTo(Date value) {
			addCriterion("update_time_ =", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotEqualTo(Date value) {
			addCriterion("update_time_ <>", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThan(Date value) {
			addCriterion("update_time_ >", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("update_time_ >=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThan(Date value) {
			addCriterion("update_time_ <", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
			addCriterion("update_time_ <=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIn(List<Date> values) {
			addCriterion("update_time_ in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotIn(List<Date> values) {
			addCriterion("update_time_ not in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeBetween(Date value1, Date value2) {
			addCriterion("update_time_ between", value1, value2, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
			addCriterion("update_time_ not between", value1, value2, "updateTime");
			return (Criteria) this;
		}
	}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}